package com.platform.api.modular.demo.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.platform.api.modular.demo.entity.SysApp;
import com.platform.api.modular.demo.result.SysAppResult;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

/**
 * 系统应用mapper接口
 */
@Repository("apiSysAppMapper")
public interface SysAppMapper extends BaseMapper<SysApp> {

    /**
     * 获取用户分页列表
     *
     * @param page         分页参数
     * @param queryWrapper 查询参数
     * @return 查询分页结果
     */
    Page<SysAppResult> page(@Param("page") Page page, @Param("ew") QueryWrapper queryWrapper);

}
